﻿@{
    ViewBag.Title = "BMI";
}

<h2>BMI</h2>

<form action="BMI" method="get">
    <div>
        Weight: <input type="text" name="weight" />
    </div>
    <div>
        Height: <input type="text" name="height" />
    </div>
    <div>
        <input type="submit" />
    </div>
    <div>
        <label>Result: </label>
        <output type="text">@ViewBag.result</output>
    </div>
</form>